package test 
{
	
	import com.hitplane.core.BaseDisplay;
	import com.hitplane.interfaces.IAttack;
	import com.hitplane.interfaces.IFly;
	import com.hitplane.manager.EnterFrameManager;
	import com.hitplane.manager.KeyBoardManager;
	import com.hitplane.elements.NormalUserFly;
	
	import flash.display.Sprite;
	
	/**
	 * @describe  	...
	 * @author  	郑子华
	 * @website 	http://blog.sina.com.cn/zihua2007
	 * @time		... 
	 */
	[SWF(width="400",height="600", backgroundColor="#999999",frameRate="30")]
	public class FlySendBulletTest extends Sprite
	{
		
		public function FlySendBulletTest() 
		{
			
			EnterFrameManager.instance.startTick();
			
			var fly:IFly = new NormalUserFly();
			this.addChild(fly as BaseDisplay);
			(fly as BaseDisplay).x = 100;
			(fly as BaseDisplay).y = 500;
			fly.attack((fly as NormalUserFly).normalAttack);
			
			
		}
		
	}
	
}